﻿using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", TypeName = "tComplexGateway")]
[XmlRoot("complexGateway", Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", IsNullable = false)]
public partial class ComplexGateway : Gateway
{
    /// <remarks/>
    [XmlElement("activationCondition")]
    public Expression ActivationCondition { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("default", DataType = "IDREF")]
    public string Default { get; set; } = default!;
}
